package com.atguigu.springcloud.dao;

import com.atguigu.springcloud.entities.Payment;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @Author Kevin
 * @Date 2021-04-06 15:40:41
 */
@Mapper
public interface PaymentDao {
    /**
     * 创造方法
     * @param payment
     * @return
     */
    public int create(Payment payment);

    /**
     * 查询方法
     * @param id
     * @return
     */
    public Payment getPaymentId(@Param("id") Long id);
}
